﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InventoryIssue.Dtos
{
    public class AllocateDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string AllocateId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号(自动生产)
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specifications { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 默认仓库
        /// </summary>
        public string DepotName { get; set; }
        /// <summary>
        /// 默认库位
        /// </summary>
        public string LocationName { get; set; }
        /// <summary>
        /// 调拨仓库(入)
        /// </summary>
        public string AllocateWarehouseIn { get; set; }
        /// <summary>
        /// 调拨仓库(出)
        /// </summary>
        public string AllocateWarehouseOut { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string OrderCreator { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime OrderCreatorTime { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string? Manager { get; set; }
        /// <summary>
        /// 经办时间
        /// </summary>
        public DateTime? ManagerTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string OrderNumber {  get; set; }
    }
}
